Version

Combo(String,IEnumerable) Method

Helper to configure a Combo widget for name and data source.
Syntax
'Declaration
 
Public Overloads Function Combo( _
   ByVal id As System.String, _
   ByVal dataSource As System.Collections.IEnumerable _
) As ComboWrapper
public ComboWrapper Combo( 
   System.string id,
   System.Collections.IEnumerable dataSource
)

Parameters

id
ID of control and name of field. If that is evaluated IEnumerable<SelectListItem>, then it is used to set SelectedValues to string. If is evaluated to IEnumerable, then it is used to set DataSource.
dataSource
Setter for DataSource of ComboWrapper

Return Value

New instance of ComboWrapper
Requirements

Target Platforms: Windows 8.1, Windows 8.1, Windows 8, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

View on GitHub